/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package brigal.fastbackup.test;

import brigal.fastbackup.gui.FastBackupApp;
import org.jdesktop.application.Application;
import org.jdesktop.application.ResourceMap;

/**
 *
 * @author brigal
 */
public final class FastBackupTestConstants {

    private static final ResourceMap resourceMap = Application.getInstance(FastBackupApp.class).getContext().getResourceMap(FastBackupApp.class);
    private static final String appName = resourceMap.getString("Application.name");
    private static final String appVersion = resourceMap.getString("Application.version");
    public static final String APPLICATION_NAME = appName;
    public static final String APPLICATION_VERSION = appVersion;
    private static final String PROFILE_NAME = "test profile name";
    private static final String PROFILE_SOURCE = "test profile source";
    private static final String PROFILE_DESTINATION = "test profile destination";
    private static final String XML_PROFILE = "<Profile Name=\"" + PROFILE_NAME + "\"><Source>" + PROFILE_SOURCE + "</Source><Destination>" + PROFILE_DESTINATION + "</Destination></Profile>";
    public static final String PROFILE_NAME_1 = PROFILE_NAME + " 1";
    public static final String PROFILE_SOURCE_1 = PROFILE_SOURCE + " 1";
    public static final String PROFILE_DESTINATION_1 = PROFILE_DESTINATION + " 1";
    public static final String XML_PROFILE_1 = "<Profile Name=\"" + PROFILE_NAME_1 + "\"><Source>" + PROFILE_SOURCE_1 + "</Source><Destination>" + PROFILE_DESTINATION_1 + "</Destination></Profile>";
    public static final String PROFILE_NAME_2 = PROFILE_NAME + " 2";
    public static final String PROFILE_SOURCE_2 = PROFILE_SOURCE + " 2";
    public static final String PROFILE_DESTINATION_2 = PROFILE_DESTINATION + " 2";
    public static final String XML_PROFILE_2 = "<Profile Name=\"" + PROFILE_NAME_2 + "\"><Source>" + PROFILE_SOURCE_2 + "</Source><Destination>" + PROFILE_DESTINATION_2 + "</Destination></Profile>";
    private static final String XML_PROFILES = "<Profiles>" + XML_PROFILE_1 + XML_PROFILE_2 + "</Profiles>";
    public static final String XML_SETTINGS = "<Settings ApplicationName=\"" + APPLICATION_NAME + "\" ApplicationVersion=\"" + APPLICATION_VERSION + "\">" + XML_PROFILES + "</Settings>";
}
